package city.spring.modules.work.service;

import city.spring.modules.work.entity.WorkPlanUserExtEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * Service：排班方案-关联用户
 *
 * @author 侯坤林
 * @date 2020-06-04 16:25:19
 */
public interface WorkPlanUserExtService extends IService<WorkPlanUserExtEntity> {
    String CACHE_NAME = "work_plan_user_ext";

    /**
     * 业务处理：保存一个 <strong>排班方案-关联用户</strong>
     *
     * @param entity 排班方案-关联用户
     */
    void saveWorkPlanUserExt(WorkPlanUserExtEntity entity);

    /**
     * 业务处理：修改一个 <strong>排班方案-关联用户</strong>
     *
     * @param entity 排班方案-关联用户
     */
    void updateWorkPlanUserExt(WorkPlanUserExtEntity entity);

    /**
     * 业务处理：删除一个 <strong>排班方案-关联用户</strong>
     *
     * @param primaryKey 主键ID
     */
    void deleteWorkPlanUserExt(String primaryKey);

    /**
     * 业务处理：删除多个 <strong>排班方案-关联用户</strong>
     *
     * @param primaryKeys 主键ID列表
     */
    void deleteWorkPlanUserExt(List<String> primaryKeys);
}